package com.android.lovely.api.model

import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class User(
    @Json(name = "id") val id: Int,
    @Json(name = "username") val username: String,
    @Json(name = "avatar") val avatar: String? = null,
    @Json(name = "gems") val gems: Int = 0,
    @Json(name = "vip_level") val vipLevel: Int = 0
)

@JsonClass(generateAdapter = true)
data class RewardResult(
    @Json(name = "gems") val gems: Int,
    @Json(name = "type") val type: String,
    @Json(name = "message") val message: String? = null
)

@JsonClass(generateAdapter = true)
data class MessageCount(
    @Json(name = "unread") val unread: Int = 0,
    @Json(name = "total") val total: Int = 0
)

@JsonClass(generateAdapter = true)
data class DailyCheckIn(
    @Json(name = "checked") val checked: Boolean = false,
    @Json(name = "days") val consecutiveDays: Int = 0,
    @Json(name = "reward") val reward: Int = 0
) 